package com.lechi.iot.android.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
public class OutDeviceCmd implements Serializable {

    @Serial
    private static final long serialVersionUID = 54265757434L;

    private Long updateLogId;

    private String deviceSN;


    private String cmd;

    private String publishContent;

    private Integer rotation;

    /**
     * 定时开关机时间
     */
    private List<String> times;

    /**
     * 下载地址
     */
    private List<DownLoadTask> downLoadTask;

    @Data
    public static class DownLoadTask {

        private String downLoadUrl;

        private String fileType;

        private String fileName;

        private String md5;
    }
}
